﻿using System;
using System.Collections.Generic;
using Infinity.Expressions;
using System.Linq;
using Infinity.Statements.Block;
using System.Text;
using Infinity.Statements.Condition;

namespace Infinity.Statements.StatementFactory.Condition
{
	public class IfStatement : ConditionStatement, IIfStatement
	{
		public IfStatement()
		{
			ElseIfStatements = new List<IIfStatement>();
		}

		public IExpression Condition { get; set; }

		public IBlockStatement BodyStatement { get; set; }

		public IBlockStatement ElseStatement { get; set; }

		public List<IIfStatement> ElseIfStatements { get; set; }
	}
}